pattern printing